package Practice;

public class Overload {
    public int Add(int m,int n){
        return m+n;
    }
    public double Add(double d1,double d2,double d3){
        return d1+d2+d3;
    }
    public static void main(String[] args) {
        Overload ol=new Overload();
        System.out.println(ol.Add(1,5));
        System.out.println(ol.Add(3.5,1.2,3.1));
    }
}
